<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>后台管理</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="icon" href="javascript:;">
  <link rel="stylesheet" href="../../resource/layui/css/layui.css"  media="all">
  <link rel="stylesheet" href="../../resource/myResource/css/no_read_item.css">
  <link rel="stylesheet" href="../../resource/myResource/css/personal/personal_detail.css">
</head>
<style>
</style>
<body>
    <form class="layui-form" action="">
        <div class="layui-form-item personallabel">
            <label class="layui-form-label">姓名:</label>
            <div class="layui-input-block">
                <label id="name" class="layui-form-label personalvalue" ></label>
            </div>
        </div>
        <div class="layui-form-item personallabel">
            <label class="layui-form-label">账号:</label>
            <div class="layui-input-block">
                <label id="identity" class="layui-form-label personalvalue"></label>
            </div>
        </div>
        <div class="layui-form-item personallabel">
            <label class="layui-form-label">地区:</label>
            <div class="layui-input-block">
                <label id="areaName" class="layui-form-label personalvalue"></label>
            </div>
        </div>
        <div class="layui-form-item personallabel">
            <label class="layui-form-label">权限:</label>
            <div class="layui-input-block">
                <label id="powerName" class="layui-form-label personalvalue"></label>
            </div>
        </div>
        <div class="layui-form-item personallabel">
            <label class="layui-form-label">添加时间:</label>
            <div class="layui-input-block">
                <label id="addTime" class="layui-form-label personalvalue"></label>
            </div>
        </div>
        <div class="layui-form-item personallabel">
            <label class="layui-form-label">授权于:</label>
            <div class="layui-input-block">
                <label id="addUserName" class="layui-form-label personalvalue"></label>
            </div>
        </div>
        


    </form>
    <script src="../../resource/jquery/dist/jquery.js"></script>
    <script src="../../resource/layui/layui.js" charset="utf-8"></script>
    <script src="../../resource/myResource/js/base.js"></script>
    <script src="../../resource/myResource/js/util/dictionary.js"></script>
    <!-- <script src="../..//resource/myResource/js/repaorjs/repair_no_read_item.js"></script> -->
    <script type="text/javascript">
       
        //获得id渲染页面
        // alert(GetQueryString("id"));

        // 调用方法： 
        // alert(GetQueryString("id"));
        
        
    </script>
    
    <script>
        var id = getId();
        // debugger;
        // alert(id);
        $.ajax({
            url:head+"/user/getUserInfo?id="+id,
            dataType:"json",
            type:"GET",
            success:function(redata){
                var data = redata.data;
                layui.use(['table'], function(){
                    var util = layui.util;
                    $("#name").text(data.name);
                    $("#identity").text(data.identity);
                    $("#areaName").text(data.areaName);
                    $("#powerName").text(data.powerName);
                    $("#addTime").text(util.toDateString(data.addTime*1,"yyyy-MM-dd HH:mm"));
                    $("#addUserName").text(data.addUserName);
                });
            }
        });
    </script>
</body> 
</html>